/** When your routing table is too long, you can split it into small modules**/

import Layout from '@/layout'

const networkRouter = {
  path: '/network',
  component: Layout,
  redirect: 'noRedirect',
  name: 'system',
  meta: {
    title: '网络组网',
    icon: 'chart'
  },
  children: [
    {
      path: 'keyboard',
      component: () => import('@/views/charts/keyboard'),
      name: 'KeyboardChart',
      meta: { title: '设备组网', noCache: true }
    },
    {
      path: 'line',
      component: () => import('@/views/charts/line'),
      name: 'LineChart',
      meta: { title: '网络配置', noCache: true }
    }
  ]
}

export default networkRouter
